ShortPixel\Controller\QueueController D

Total Complexity 139
Dependencies 15
Dependents 14
Total lines 828
Lines of code 578
Logical lines of code 330
Comment lines 91
Methods 21
Properties 3

Methods 21

Method Rating Maintainability Complexity Lines of code
calculateStatsTotals()
C
36 29 73
addItemToQueue()
B
33 17 103
runTick()
A
37 13 80
processQueue()
A
43 11 52
queueToJson()
A
47 10 37
scaledImageChangedHook()
A
47 10 36
thumbnailsChangedHook()
A
46 9 39
numberFormatStats()
A
50 9 29
isItemInQueue()
S
53 6 24
getQueue()
S
53 6 24
checkQueueClean()
S
63 5 10
logBulk()
S
56 3 16
resetQueues()
S
66 2 8
uninstallPlugin()
S
66 2 8
getStartupData()
S
61 1 13
__construct()
S
71 1 6
getJsonResponse()
S
68 1 8
setLastID()
S
80 1 3
getLastQueueStatus()
S
82 1 3
getLastId()
S
80 1 3
thumbnailsChangedHookLegacy()
S
80 1 3